package com.example.homegroup.seckill.view;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.launcher.ARouter;
import com.example.homegroup.R;

@Route(path = "/main/car")
public class CarActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_car);
        Fragment fragment = (Fragment) ARouter.getInstance().build("/cargroup/carfragment").navigation();
        getSupportFragmentManager().beginTransaction().add(R.id.ll, fragment).commit();
    }
}